﻿using System.ComponentModel.DataAnnotations;

namespace LanqiQAwebapi.Dto
{
    public class AddUserByPhone
    {
        ///AddUserByPhone
        [Required]
        [RegularExpression(@"^1[3-9]\d{9}$|^1[0-2]\d{9}$", ErrorMessage = "电话号码格式不正确")]
        public string Phone { get; set; }
    

    }
}
